﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ChatList.aspx.cs" Inherits="CMS_ChatList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>评论列表</title>
     <meta http-equiv="x-ua-compatible" content="ie=7" />
    <style>
        .paginator
        {
            font: 11px Arial, Helvetica, sans-serif;
            padding: 10px 20px 10px 0;
            margin: 0px;
            width: 100%;
        }
        .paginator a
        {
            padding: 1px 6px;
            border: solid 1px #ddd;
            background: #fff;
            text-decoration: none;
            margin-right: 2px;
        }
        .paginator a:visited
        {
            padding: 1px 6px;
            border: solid 1px #ddd;
            background: #fff;
            text-decoration: none;
        }
        .paginator .cpb
        {
            padding: 1px 6px;
            font-weight: bold;
            font-size: 13px;
            border: none;
        }
        .paginator a:hover
        {
            color: #fff;
            background: #ffa501;
            border-color: #ffa501;
            text-decoration: none;
        }
        .ct
        {
            width: 700px;
        }
        .name
        {
            width: 150px;
            float: left;
        }
        .html
        {
            width: 550px;
            float: right;
        }
    </style>
</head>
<body style="overflow: hidden; overflow-y: auto; font-size: 13px;width: 810px; ">
    <form id="form1" runat="server">
    <div >
        <h1>
            <asp:Literal ID="litTopic" runat="server"></asp:Literal></h1>
        <webdiyer:AspNetPager CssClass="paginator" CurrentPageButtonClass="cpb" ID="apg2"
            runat="server" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页"
            UrlPaging="True" Width="100%" HorizontalAlign="Right">
        </webdiyer:AspNetPager>
        <div style="border: solid 2px #b7ddf2; background: #ebf4fb; padding: 10px;" runat="server"
            id="DivContent">
            <asp:Repeater ID="RptChatList" runat="server" OnItemDataBound="RptChatList_ItemDataBound"
                OnItemCommand="RptChatList_ItemCommand">
                <HeaderTemplate>
                </HeaderTemplate>
                <ItemTemplate>
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tbody>
                            <tr>
                                <td style="border-right: #bebebe 0px solid; padding-left: 12px" valign="center" align="left"
                                    width="71" bgcolor="#cee6ff" height="21">
                                    评论人
                                </td>
                                <td style="padding-left: 8px" valign="center" align="left" width="665" bgcolor="#cee6ff">
                                </td>
                            </tr>
                            <tr>
                                <td style="border-right: #bebebe 1px solid; padding-left: 12px; border-bottom: #dedede 1px solid"
                                    valign="center" align="left">
                                    <%# Eval("Empname") %>
                                </td>
                                <td style="border-bottom: #dedede 1px solid" valign="top" align="left">
                                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                        <tbody>
                                            <tr>
                                                <td style="border-bottom: #dedede 1px solid" valign="center" align="middle" width="26"
                                                    height="24">
                                                    <img height="10" src="images/fb.gif" width="8">
                                                </td>
                                                <td style="border-bottom: #dedede 1px solid" valign="center" align="left" width="452">
                                                    评论于：
                                                    <%# Eval("EditTime")%>
                                                </td>
                                                <td style="border-bottom: #dedede 1px solid" valign="center" align="right" width="150">
                                                    <asp:LinkButton ID="Del" runat="server" ForeColor="Red" OnClientClick="return confirm('确认删除？')">删除</asp:LinkButton>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td class="da_hang" style="padding-right: 18px; padding-bottom: 10px; padding-top: 3px"
                                                    valign="center" align="left">
                                                    <%# Eval("Content") %>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <webdiyer:AspNetPager CssClass="paginator" CurrentPageButtonClass="cpb" ID="apg"
            runat="server" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页"
            UrlPaging="True" Width="100%" HorizontalAlign="Right">
        </webdiyer:AspNetPager>
    </div>
    </form>
</body>
</html>
